home *** CD-ROM | disk | FTP | other *** search
- name Fanuc OKK
-
- % 00
- / 00
- O >4
- N >4
- G >2
- g >2 G
- X ->3.>4
- Y ->3.>4
- Z ->3.>4
- z ->3.>4 Z
- I ->3.>4
- J ->3.>4
- K ->3.>4
- Q ->3.>4
- R ->3.>4
- P >40
- F >3.1
- H >2
- D >2
- S >4
- M >2
- T >2
-
- ModalLetters F R # List of letters that are modal
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 90 91 # List of g codes that are modal
-
- Sequence#s N 0 1 1 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
- Dcode Z # Depth char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Inch/MM 70 71 # Inch & Metric g codes
-
- Spaces? N # Y or N 'Spaces between words
-
- Incremental? Y # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- CtrCode I J # I J or R or I J K L
- Helical? N
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- Drill # Drilling canned/manual cycle
- G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
- end cancel
-
- Peck # Pecking canned/manual cycle
- G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
- end cancel
-
- Tap # Tapping canned/manual cycle
- G84 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
- end cancel
-
- LTap # Left handed tapping cycle
- G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
- end cancel
-
- Ream # Reaming canned/manual cycle
- G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
- end cancel
-
- Bore # Boring canned/manual cycle
- G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
- end cancel
-
- Back # Back boring canned/manual cycle
- G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
- end cancel
-
- Cancel # Cancel a canned/manual cycle
- G80
- end
-
- StartCode # Start of the program
- End
-
- 1stToolChange # First tool change
- G90 G80 G40 G17
- G91
- T[Tool]
- M6
- G0 X[H] Y[V] M[Direct] S[Speed] T[NextTool]
- G43 Z[D] H[Lcomp]
- M[Cool]
- G91
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] D[DComp] F[FRate]
- end
-
- Outfeed # Disable cutter comp
- G1 G40 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- M9
- g91 G28 z0
- G91 M6
- G90 G0 X[H] Y[V] M[Direct] S[Speed] T[NextTool]
- G43 Z[D] H[Lcomp]
- M[Cool]
- G91
- End
-
- EndCode # End of the program
- M9
- g91 G28 z0
- M30
- %0
- End
-
- LineCode # Linear move
- G1 X[H] Y[V] Z[D]
- end
-
- RapidCode # Rapid move
- G0 X[H] Y[V] Z[D]
- end
-
-